<?php
    $process = new swoole_process(function (swoole_process $pro){
        //todo

        $pro->exec("/usr/bin/php",[__DIR__."/../http_server.php"]);
    },false);
    $pid = $process->start();
    echo $pid.PHP_EOL;
    echo __DIR__."/../http_server.php".PHP_EOL;
    swoole_process::wait();
